package Page.NewsFeedPage;

import Dao.CourseInfoDao;
import DataClass.Course;
import Page.TeachingInfoPage.TeachingInfoViewModel;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableView;
import javafx.scene.control.TextField;
import javafx.scene.control.cell.PropertyValueFactory;

import java.net.URL;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.ResourceBundle;

public class NewsFeedController implements Initializable{
    @FXML
    private Button BackButton;

    private NewsFeedViewModel viewModel;
    @Override
    public void initialize(URL location, ResourceBundle resources) {
        viewModel = new NewsFeedViewModel();
    }

    public void backButtonClicked(javafx.event.ActionEvent actionEvent) {
        viewModel.backButtonClicked();
    }
}
